package com.sedshop.shop.library.umeng.analytics;/**
 * Created by Administrator on 2016/5/4.
 */

import android.support.v4.app.FragmentActivity;

import com.sedshop.shop.library.constant.AppConfig;
import com.umeng.analytics.MobclickAgent;

/**
 * 作者：Administrator on 2016/5/4 10:42
 * 邮箱：314960314@qq.com
 */
public class AnalyticsFragmentActivity extends FragmentActivity{
    public void onResume() {
        super.onResume();
//        MobclickAgent.onResume(this); //统计时长
        String simpleName = this.getClass().getSimpleName();
        MobclickAgent.onPageStart(AppConfig.getChineseName(simpleName)); // 统计页面
    }
    public void onPause() {
        super.onPause();
//        MobclickAgent.onPause(this);//统计时长
        String simpleName = this.getClass().getSimpleName();
        MobclickAgent.onPageStart(AppConfig.getChineseName(simpleName)); // 统计页面
    }
}
